package com.cqhfan.common.autoconfigure.mvc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 眭传洪
 * @create 2024-11-14 20:02
 */
@Data
@Component
@ConfigurationProperties(prefix = "chat.security")
public class SecurityProperties {

    private String privateKey;

    private String publicKey;

    private Long accessTokenTtl;

    private Long refreshTokenTtl;

}
